package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 聊天记录
对象 ds_lt
 *
 * @author tyro
 * @date 2025-03-05
 */
public class DsLt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 聊天id */
    private Long ltId;

    /** 会话id */
    @Excel(name = "会话id")
    private String conversationId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long classId;

    /** 用户名 */
    private String userName;

    /** 聊天标题 */
    @Excel(name = "聊天标题")
    private String ltTitle;

    /** 删除标志 */
    private String delFlag;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setLtId(Long ltId)
    {
        this.ltId = ltId;
    }

    public Long getLtId()
    {
        return ltId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setLtTitle(String ltTitle)
    {
        this.ltTitle = ltTitle;
    }

    public String getLtTitle()
    {
        return ltTitle;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getConversationId() {
        return conversationId;
    }

    public void setConversationId(String conversationId) {
        this.conversationId = conversationId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ltId", getLtId())
            .append("collegeId", getCollegeId())
            .append("conversationId", getConversationId())
            .append("userId", getUserId())
            .append("classId", getClassId())
            .append("userName", getUserName())
            .append("ltTitle", getLtTitle())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
